import App from './App'
import api from '@/common/api.js'
import domain from '@/common/operate.js'
import Utils from '@/utils/utils.js'
import filter from '@/common/filter.js'
import store from './store'
import mixin from './common/mixin/mixin'
// import ws from '@/common/socket.js'
// main.js
// import uView from 'uview-ui'
// Vue.use(uView)
// Vue.prototype.$ws = ws
Vue.prototype.$domain = domain
Vue.prototype.$api = api
Vue.prototype.$utils = Utils
Vue.mixin(mixin)
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif